﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using HotelManageSystem.Domain.Entities;

namespace HotelManageSystem.Models
{
    public class DeliveryorderModel
    {
        [ScaffoldColumn(false)]
        [Required]
        public int ID { get; set; }

        [Display(Name="出库单号")]
        public string DeliveryorderID { get; set; }
        [Display(Name="出库单价")]
        [DataType(DataType.Currency)]
        public decimal Outprice { get; set; }
        [Display(Name = "出库数量")]
        public int Count { get; set; }
        [Display(Name = "合计")]
        public decimal Total { get; set; }

        [Display(Name="出库时间")]
        [DataType(DataType.Date)]
        public DateTime time { get; set; }
        //出货明细
        public string  ProductDetailIOut { get; set; }

        public string Product { get; set; }

        public int Inventory { get; set; }
        //货品出库负责人
        
        public string Billproducer { get; set; }
        //货品出库制单人
        [Display(Name = "负责人"), Required]
        //[UIHint("GetEmployee")]
        public string Employee { get; set; }
    }
}